<%-- 
    Document   : index
    Created on : 23/09/2014, 22:11:56
    Author     : leoomoreira
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>StoryMotion</title>
        <script src="http://code.jquery.com/jquery-1.9.0.js"></script>
        <script src="js/index.js"></script>        
        <link rel="stylesheet" href="css/index.css" type="text/css" />
    </head>
    
    <body id="indexBody">
        <div class="indexHeader">Welcome to StoryMotion</div>
        
        <div class="indexImg"></div>
        
        <div class="loginForm">
            <form action="Login" method="post">
                <h1><span class="log-in">Log in</span> or <span class="sign-up">sign up</span></h1>
                <p class="indexFloat">
                    <label for="login">Username</label>
                    <input type="text" name="login" placeholder="Username">
                </p>
                <p class="indexFloat">
                    <label for="password">Password</label>
                    <input type="password" name="password" placeholder="Password" class="showpassword">
                </p>
                <p class="clearfix">  
                    <input type="button" id="userNew" value="Sign Up" />
                    <input type="submit" name="Login" value="Log in">
                </p>
            </form>
            <% if (request.getAttribute("message") != null) {%>
            <div class="message"><%= request.getAttribute("message").toString()%></div>
            <% }%>
        </div>
    </body>
</html>